'**********************************************************************
'               test data for BEST-PLAN
'       .....energy system demonstration problem.....
'
'**********************************************************************

        SECTION @10=fuel allocation

        COMBINE #101/hog fuel   (bdt)
                #102/sawdust    (bdt)
        INTO    #105/hog boiler fuel;

'**********************************************************************

        SECTION @20=boiler steam production

        USE     #105
        MAKE    #501/stream.hog boiler  =11.87
                #211/particulate(hog)   =1.7;

        USE     #103/black liquor
        MAKE    #502/steam.rec boiler   =8.25
                #110/green.liquor       =2.33
                #212/particulate(rec)   =1.6;

        USE     #104/bunker oil
        MAKE    #503/steam.pwr boiler   =4.08
                #213/particulate(pwr)   =0.0005;

'**********************************************************************

        SECTION @21=particulate pollution

        COMBINE #211 + #212 + #213
        INTO    #210/total particulate;


'**********************************************************************

        SECTION @30=steam allocation

        SPLIT   #501
        INTO    #504/hog boiler turbine
                #314/hi.pressure.steam  ;


        COMBINE #502 + #503
        INTO    #505/rec.& pwr. turbine
                #315/hi.pressure.steam  ;

'.............turbine controls..................

        SET     #314=0.0,       #315=0.0;

'**********************************************************************

        SECTION @40=turbine elect. prod.

        USE     #504
        FOR     #351/elect.gen.1        =52.0
                #311/hi.press.steam.1   =0.23
                #321/lo.press.steam.1   =0.38;

        USE     #505
        FOR     #352/elect.gen.2        =52.0
                #312/hi.press.steam.2   =0.35
                #322/lo.press.steam.2   =0.26;


'**********************************************************************

        SECTION @50=total steam&elec. prod.

        COMBINE #311 + #312 + #314 + #315
        INTO    #310/hi.steam. mills
                #313/hi.press.(lost)lo.press.;

'.........................................................

        SET     #313=0.0;

'**********************************************************************

        SECTION @60=power allocation to mills

        COMBINE #321 + #322 + #313
        INTO    #320/lo.steam. mills
                #330/lo.steam.mill.wp;

        COMBINE #351 + #352 + #360/outside.purchased.elec.
        INTO    #340/elec. mill.wp
                #350/elec. mills;

'**********************************************************************
'
'                       prices and limits
'......................................................................

        PRICES  #101=-90.0      ' hog fuel
                #102=-50.0      ' sawdust
                #103=-30.0      ' black liquor
                #104=-50.0      ' bunker oil

                #360=-0.03;     ' outside purchased electricity

'       .....production minimum.......................

        MINIMUM #310=475.0      ' hi.pressure steam to mills
                #320=250.0      ' lo.pressure steam to mills
                #330= 60.0      ' lo.pressure steam to mill.wp

                #340=20000.     ' elec. to mill.wp
                #350=70000.;    ' elec. to mills

'       .....production maximum.......................

        MAXIMUM #501=450.0      ' steam hog.boiler
                #502=775.0      ' steam rec.boiler
                #503=290.0;     ' steam pwr.boiler

'**********************************************************************

